<%@ include file="WEB-INF/jspf/headerLogin.jspf" %>
    <h3>REGISTER</h3>
    <%
    String failReport = "";
    if(request.getParameter("failReport")!=null)
        failReport=request.getParameter("failReport");
    %>
    <div class="error"><%=failReport%></div>
    <div id="registerDiv" class="formDiv">
    
    <form name="actionForm" action="RegisterServlet" method="POST">
        <span>Username:</span>
        <input name="uname" type="text"></input><br/>
        <span>Password:</span>
        <input name="password" type="password"></input><br/>
        <span>First Name</span>
        <input name="firstName" type="text"></input><br/>
        <span>Last Name</span>
        <input name="lastName" type="text"></input><br/>
        <span>Email</span>
        <input name="email" type="text" size="25"></input><br/>
        <br/>
        <span>Climate Zone</span>
        <select name="climateZone">
            <option value="temperate">Temperate/mesothermal</option>
            <option value="tropical">Tropical/megathermal</option>
            <option value="dry">Dry (arid and semiarid)</option>
            <option value="continental">Continental/microthermal</option>
            <option value="polar">Polar climates</option>
        </select><br/><br/>
        Street Address<br/><input name="street1" type="text" size="55"></input><br/>
        <input name="street2" type="text" size="55"></input><br/>
        City<input name="city" type="text"></input>State<input name="state" type="text" size="2"></input>Zip<input name="zip" type="text" size="8"></input><br/>
        <br/>
        <br/>
        About you:<br/>
        <textarea name="interests" cols="42" rows="5">Enter your interests here...</textarea><br/>        
        <input type="submit" value="submit"></input>
    </form>
    <form action="index.jsp">
        <input type="submit" value="cancel"></input>
    </form>
</div>
<%@ include file="WEB-INF/jspf/footerLogin.jspf" %>